package com.jinsi.mapper;

import com.jinsi.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DeptMapper {

    public List<Dept> getAll();

    List<Dept> getDeptsByName(@Param("deptName") String deptName);
}
